package cn.rongdao.jrkabao.ui.deposit.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.deposit.SelectCollectionCardBean;
import cn.rongdao.jrkabao.ui.cashadvance.uicomponent.ItemCreditAndBankCardUIComponent;

/**
 * Created by jack on 2018/1/22
 */

public class DepositManagerViewHolder extends FRBaseRecyclerViewHolder<SelectCollectionCardBean> {

    private ItemCreditAndBankCardUIComponent itemCreditAndBankCardUIComponent;

    public DepositManagerViewHolder(View view) {
        super(view);
        itemCreditAndBankCardUIComponent = (ItemCreditAndBankCardUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(SelectCollectionCardBean selectCollectionCardBean) {
        itemCreditAndBankCardUIComponent.setContent(selectCollectionCardBean);
    }
}
